* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 800px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.header {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 25px 30px;
    text-align: center;
}

.header h1 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1px;
}

.table-container {
    padding: 20px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

th {
    background-color: #f8f9fa;
    color: #2c3e50;
    font-weight: 600;
    text-align: left;
    padding: 16px 20px;
    border-bottom: 2px solid #e1e5eb;
    font-size: 16px;
}

td {
    padding: 14px 20px;
    border-bottom: 1px solid #e1e5eb;
    color: #34495e;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover:not(.total-row) {
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
}

.total-row {
    background-color: #2c3e50;
    color: white;
    font-weight: 600;
}

.total-row td {
    color: white;
    font-size: 18px;
    padding: 18px 20px;
}

.id-column {
    font-family: monospace;
    color: #3498db;
}

.sales-column {
    text-align: right;
    font-weight: 500;
}

.footer {
    text-align: center;
    margin-top: 20px;
    color: #7f8c8d;
    font-size: 14px;
}

@media (max-width: 600px) {
    .container {
        border-radius: 8px;
    }
    
    .header {
        padding: 20px 15px;
    }
    
    .header h1 {
        font-size: 22px;
    }
    
    th, td {
        padding: 12px 15px;
    }
    
    .total-row td {
        padding: 15px;
    }
}